home *** CD-ROM | disk | FTP | other *** search
- /* s s c a n f
- *
- * Formatted input from a string. The function returns the number
- * items scanned from the string and EOF on failure.
- *
- * Patchlevel 1.0
- *
- * Edit History:
- */
-
- #include "stdiolib.h"
-
- /*LINTLIBRARY*/
- /*VARARGS2*/
- /*ARSGUSED*/
-
- int sscanf(buf, fmt, va_alist)
-
- char *buf; /* output buffer */
- char *fmt; /* format */
- va_dcl
-
- {
- va_list arg; /* argument vector */
- int v; /* return value */
-
- va_start(arg);
- v = vsscanf(buf, fmt, arg);
- va_end(arg);
-
- return v;
- }
-